package net.lab1024.sa.admin.util;


import lombok.extern.slf4j.Slf4j;
import net.lab1024.sa.admin.module.system.user.domain.RequestUser;
import net.lab1024.sa.admin.module.system.user.domain.RequestUsers;


/**
 * admin 端的请求工具类
 *
 * @Author cp
 * @Date 2023/7/28 19:39:21
 
 
  * @Copyright  cpedu，Since 2012
 */

public final class MobileRequestUtil {

    public static RequestUser getRequestUser() {
        return (RequestUser)UserRequestUtil.getRequestUser();
    }

    public static String getRequestUserId() {
        RequestUser requestUser = getRequestUser();
        return null == requestUser ? null : requestUser.getUserId();
    }


}
